{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Debug",
      "type": "cppdbg",
      "request": "launch",
      "program": "${workspaceFolder}/${input:executableName}",
      "cwd": "${workspaceFolder}/../mazecaster/",
      "MIMode": "gdb",
      "miDebuggerPath": "${input:debuggerPath}",
      "setupCommands": [
        {
          "text": "-enable-pretty-printing",
          "ignoreFailures": true
        },
        {
          "text": "-gdb-set disassembly-flavor intel",
          "ignoreFailures": true
        }
      ]
    },
    {
      "name": "Build & Debug",
      "type": "cppdbg",
      "request": "launch",
      "preLaunchTask": "Build (Debug)",
      "program": "${workspaceFolder}/${input:executableName}",
      "cwd": "${workspaceFolder}/../mazecaster/",
      "MIMode": "gdb",
      "miDebuggerPath": "${input:debuggerPath}",
      "setupCommands": [
        {
          "text": "-enable-pretty-printing",
          "ignoreFailures": true
        },
        {
          "text": "-gdb-set disassembly-flavor intel",
          "ignoreFailures": true
        }
      ]
    }
  ],
  "inputs": [
    {
      "id": "executableName",
      "type": "command",
      "command": "cpptools.activeConfigCustomVariable",
      "args": "executableName"
    },
    {
      "id": "debuggerPath",
      "type": "command",
      "command": "cpptools.activeConfigCustomVariable",
      "args": "debuggerPath"
    },
  ]
}